package com.glasses.primework;


import javax.faces.bean.ManagedBean;
import org.primefaces.event.DragDropEvent;


@ManagedBean
public class DroppableBean {
    public void onDrop(DragDropEvent ddEvent) {
        String draggedId = ddEvent.getDragId();
        String droppedId = ddEvent.getDropId();
        Object data = ddEvent.getData();
        
        System.out.println("DroppableBean.onDrop(...)");
        System.out.println("draggedId = " + draggedId);
        System.out.println("droppedId = " + droppedId);
        System.out.println("data = " + data);
    }
}
